import { deleteUser, deleteUsers } from '@/api/userManagement'
/**
 * 删除用户信息
 */
export function deleteUserInfo(tempData) {
  return new Promise((resolve, reject) => {
    try {
      const res = deleteUser(tempData)
      resolve(res)
    } catch (error) {
      reject(error)
    }
  })
}

export function deleteUsersInfo(tempData) {
  return new Promise((resolve, reject) => {
    try {
      const res = deleteUsers(tempData)
      resolve(res)
    } catch (error) {
      reject(error)
    }
  })
}
